Skip to content

Conversation

stuartmorgan-g
Copy link
Collaborator

Platform implementation portion of #9981

  • Adds the new LocalAuthException class for structured errors.
  • Deprecates AuthenticationOptions.useErrorDialogs

Part of:

Pre-Review Checklist

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

@stuartmorgan-g
Copy link
Collaborator Author

This is just #9981 with the changes outside of the platform implementation packages reverted, for separate landing.

@stuartmorgan-g stuartmorgan-g added the federated: partial_changes PR that contains changes for only a single package of a federated plugin change label Sep 30, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the error handling across Android, Darwin, and Windows platforms to use a new structured LocalAuthException, and removes the deprecated useErrorDialogs option. The changes are comprehensive and well-aligned with the goal of modernizing the error reporting. I've identified a critical compilation issue in the Dart implementation for Darwin and provided a suggested fix. Otherwise, the platform-specific implementations and their corresponding tests are well-executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
federated: partial_changes PR that contains changes for only a single package of a federated plugin change p: local_auth platform-android platform-ios platform-macos platform-windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant